package com.sihan.framework.etm.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class DeviceRecordDTO implements Serializable {

    private static final long serialVersionUID = 2717951040829264764L;
    @ApiModelProperty(value = "设备id")
    private String deviceId;
    @ApiModelProperty(value = "设备code")
    private String deviceCode;
    @ApiModelProperty(value = "设备类型id")
    private String deviceType;
    @ApiModelProperty(value = "设备类型")
    private String typeName;
    @ApiModelProperty(value = "设备名称")
    private String deviceName;
    @ApiModelProperty(value = "时间")
    private Date time;
    @ApiModelProperty(value = "发送次数")
    private Integer sendCount;
    @ApiModelProperty(value = "异常记录电量")
    private BigDecimal electricQuantity;
    @ApiModelProperty(value = "设备当前电量")
    private BigDecimal currentElectricQuantity;

    @ApiModelProperty(value = "设备当前电压")
    private BigDecimal voltage;
    @ApiModelProperty(value = "异常记录次数")
    private Integer frequency;
    @ApiModelProperty(value = "是否处于异常中")
    private String abnormalStart;

}
